<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/static/css/global.css" />
    <link rel="stylesheet" type="text/css" href="/static/css/boxy.css" />
    <script src="/static/javascript/jquery-1.2.6.js" type="text/javascript"></script>
    <script src="/static/javascript/jquery.boxy.js" type="text/javascript"></script>
    <script type="text/javascript">
        var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
        var pageTracker = _gat._getTracker("UA-5195522-2");
        pageTracker._trackPageview();
    </script>
    {% block css %}{% endblock %}
    {% block javascript %}{% endblock %}
    <title>{% block title %}标题{% endblock %}</title>
</head>

<body>
    <div>
        <a id="logo" title="Powered by Google App Engine" href="http://code.google.com/appengine/">
            <img src="http://code.google.com/appengine/images/appengine-silver-120x30.gif" alt="Powered by Google App Engine" border="0"/>
        </a>
    </div>
    <h1 id="banner">
        <a id="backnav" href=".">home</a>Yet Another MyWorkspace!
    </h1>

    <div id="main">
    {% block topbar %}
      <ul id="nav" class="anchors">
        <li><a href="/task" class='tabs-selected'><span>任务</span></a></li>
        <li><a href="/note" class='{% ifequal current_module "note" %}now{% endifequal %}'><span>笔记</span></a></li>
        <li><a href="/event" class='{% ifequal current_module "event" %}now{% endifequal %}'><span>事件</span></a></li>
        <li><a href="/contract" class='{% ifequal current_module "contract" %}now{% endifequal %}' ><span>联系人</span></a></li>
        <li><a href="/money" class='{% ifequal current_module "money" %}now{% endifequal %}'><span>记账</span></a></li>
        <li><a href="/logout" class='{% ifequal current_module "money" %}now{% endifequal %}'><span>退出</span></a></li>
      </ul>
    {% endblock %}

    <div id="content" class="tabContent">
        {% block content %}{% endblock %}
    </div>
    
    <div id="foot">
        {% block pagefoot %}
            foot
        {% endblock %}
    </div>
    
    </div>
</body>
</html>
